package com.koron.ticket.work.logicticket.ycpowerlinesecond.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.ticket.work.workflow.bean.WorkFlow;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class AcceptDto {

    @ApiModelProperty(value = "工作票id")
    private String workTicketId;

    @ApiModelProperty(value = "工作开始时间")
    private Date workStartTime;

    @ApiModelProperty(value = "工作结束时间")
    private Date workEndTime;

    @ApiModelProperty(value = "签名列表")
    private List<WorkFlow> workFlowList;

    @ApiModelProperty(value = "最后修改时间", hidden = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

}
